<?
define('DESKTOP','1.00');

/*
 * DeskTop per FrameWork
 * Copyright (C) 2006 Daniele Deplano
 *
 * This program is free software; you can redistribute it and/or
 * modify it under the terms of the GNU General Public License
 * as published by the Free Software Foundation; either version 2
 * of the license, or any later version.
 *
 * This program is distributed in the hope that it will be useful,
 * but WITHOUT ANY WARRANTY; without even the implied warranty of
 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
 * GNU General Public License for more details.
 *
 * You should have received a copy of the GNU General Public License
 * along with this program; if not, write to the Free Software
 * Foundation, inc., 59 Temple Place - Suite 330, Boston, MA  02111-1307, USA
 */

/*
 * Applicazione per VisualFrameWork (http://www.VisualFrameWork.it) di Roberto Viola, Daniele Deplano, Stefano Toxiri
 * che permette di gestire un upgrade automatico di tutto (Blocchi, Applicazioni, Librerie, Extras, Core, ecc.)
 *
 *  Autore    Daniele Deplano  <nost@tiscali.it>
 *  Website   http://www.nost.it
 *  Versione  0.1
 *  Data      11/12/2006
 */

?>

<?php structure_openBlock("table appl",apptitle($appname),""); ?>

	<p>

<?


// previene che il blocco sia eseguito direttamente e redirige a index.php
if (eregi("application.inc",$_SERVER['PHP_SELF']))
{ Header("Location: ../../index.php");
	die();
}



//carica la lingua se esiste

$lang=lang();
if (file_exists("applications/$appname/lang/$lang.inc"))
    include "applications/$appname/lang/$lang.inc";
else
    include "applications/$appname/lang/it.inc";


if ((defined('LIBGROUP') && group_getusergroup("webdesktop",user_getuser())) or admin_isadmin() ) /* utente desktop */
//if ((defined('LIBGROUP') && group_getusergroup("webmaster",user_getuser())) || admin_verifyIP())	 // amministratore

echo "<a href=\"index.php?appname=_xdt-desktop&subapp=desk&amp;\" style=\"text-decoration:none;\" onclick=\"window.open('applications/_xdt-desktop/intro.html');\"><b>Clicca per avviare il DeskTop di FrameWork</b></a>";


?>
	<!-- footer -->
	<br><hr size="1" width="98%">
	Powered by <a href="http://www.nost.it" target="_blank">FW-DeskTop</a> 0.1<br>Copyright &#169; 2006 Daniele Deplano
	</p>
<?php structure_closeBlock(); ?>

